home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS 1995 January / Simtel - 10000 MSDOS Shareware Programs (Walnut Creek)(January 1995)(Disc 1).ISO / _bbs / rbbstool / all.bat < prev    next >
DOS Batch File  |  1994-08-12  |  657b  |  29 lines

  1. rem this is where the actual files live
  2. set cdrom=n:
  3. rem this is where you want your index files (full path, with drive)
  4. set output=n:\_bbs\rbbs
  5.  
  6. REM  I set this globally, in ..\all.bat
  7. REM  To run this one batch file, change it here also.
  8. if .%in_type% == . goto not_set
  9. goto set
  10. :not_set
  11. set in_type=opus
  12. :set
  13.  
  14. del logfile
  15. del ..\logfile
  16. echo y | del %output%\*.*
  17.  
  18.  
  19. %cdrom%\_bbs\each_dir 1    \_bbs\dirs.txt   doit2
  20.  
  21. type header1 > %output%\all.dir
  22. %cdrom%\_bbs\each_dir 1    \_bbs\dirs.txt   doit3
  23.  
  24. type makefidx.1 > makefidx.cfg
  25. %cdrom%\_bbs\each_dir 1    \_bbs\dirs.txt   doit4
  26. type makefidx.2 >> makefidx.cfg
  27.  
  28. call makeffs
  29.